<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title></title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/css.css">
</head>
<body>

    <form:form method="post" commandName="type">
        <form:hidden path="id"/>
        <form:hidden path="lang"/>
        <form:hidden path="available"/>
        <form:hidden path="parent_id"/>
        <form:hidden path="parent_code"/>
        <form:hidden path="parent_ids"/>
		<form:hidden path="type"/>
		
		
        <c:if test="${not empty parent}">
            <div class="form-group">
                <label>父目录名称：</label>
                ${parent.name}
            </div>
        </c:if>

        <div class="form-group">
            <form:label path="name"><c:if test="${not empty parent}">子</c:if>名称：</form:label>
            <form:input path="name"/>
        </div>
        
        <div class="form-group">
            <form:label path="code">Code：</form:label>
            <form:input path="code"/>
        </div>
        
		
		<div class="form-group">
            <c:forEach items="${pm_list}" var="projectModel">
            	<label>子产品名称：</label>
            	
            </c:forEach>
        </div>
		
		
		
		
		
		


        <form:button>${op}</form:button>

    </form:form>

</body>
</html>